﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassesAndStructs4
{
    class Foo
    {
        private string s;
        public Foo()
        {
            Console.Write("Mazel Tof");
            for (int i = 0; i < 999; i++)
            {
                s += "jhflkjsjhfglkjsadhkjefdhkjhgkjfhgkjfhgkeaflg;h";
            }
        }

        ~Foo()
        {
            Console.Write("YUMM");
        }
    }

    class Program
    {
        static void Main(string[] args)
        {
            var list = new List<Foo>();
            while (true)
                list.Add(new Foo());
            System.Threading.Thread.Sleep(5000); //zzzzzzz

        }

    }
}
